package com.roadjava.rbac.bean.dto;
//数据传输对象（DTO）用于封装从客户端接收的数据或向客户端发送的数据。
import java.time.LocalDateTime;

public class RecommendationDTO {
    private Long id;
    private Integer userId;
    private Long resourceID;
    private LocalDateTime lastLogin;
    private String userBehavior;
    private Boolean enableFeedback;

    // Getter 和 Setter 方法
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Long getResourceID() {
        return resourceID;
    }

    public void setResourceID(Long resourceID) {
        this.resourceID = resourceID;
    }

    public LocalDateTime getLastLogin() {
        return lastLogin;
    }

    public void setLastLogin(LocalDateTime lastLogin) {
        this.lastLogin = lastLogin;
    }

    public String getUserBehavior() {
        return userBehavior;
    }

    public void setUserBehavior(String userBehavior) {
        this.userBehavior = userBehavior;
    }

    public Boolean isEnableFeedback() {
        return enableFeedback;
    }

    public void setEnableFeedback(Boolean enableFeedback) {
        this.enableFeedback = enableFeedback;
    }
}